using Rsd.Dudu;
using Rsd.Dudu.ModelProvider;
using Rsd.Dudu.ORM;
using Rsd.Faith.Core;
using Rsd.Faith.Report;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace Rsd.Faith.Models
{
    /// <summary>
    /// 各所属期统计报表
    /// </summary>
    [Table("report_楼栋账目", "report__lou_dong_zhang_mu", "id")]
    [Serializable]
    public class ReportLouDongZhangMuModel : Rsd.Faith.Core.ModelBase
    {

        /// <summary>
        /// 账户编号
        /// </summary>
        [TableIndex(TableIndexType.Normal, TableIndexUsing.BTree)]
        [StringType("zhang_hu_bian_hao", "账户编号", 20, 50)]
        [DisplayName("账户编号")]
        public string ZhangHuBianHao { get; set; }


        /// <summary>
        /// 小区编号
        /// </summary>
        [TableIndex(TableIndexType.Normal, TableIndexUsing.BTree)]
        [StringType("xiao_qu_bian_hao", "小区编号", 22, 20)]
        [DisplayName("小区编号")]
        public string XiaoQuBianHao { get; set; }

        /// <summary>
        /// 楼栋号
        /// </summary>
        [StringType("lou_dong_hao", "楼栋号", 23, 20)]
        [DisplayName("楼栋号")]
        public string LouDongHao { get; set; }

        /// <summary>
        /// 所属周期
        /// </summary>
        [StringType("suo_shu_qi", "所属期", 24, 20)]
        [DisplayName("所属期")]
        public string SuoShuQi { get; set; }
         
        /// <summary>
        /// 期初金额 住宅
        /// </summary>
        [NumericType("qi_chu_jin_e_zz", "期初金额_住宅", 26, 20, 2)]
        [DisplayName("期初金额_住宅")]
        public decimal QiChuJinE_ZZ { get; set; }
         
        /// <summary>
        /// 缴存金额 住宅
        /// </summary>
        [NumericType("jiao_cun_jin_e_zz", "缴存金额_住宅", 28, 20, 2)]
        [DisplayName("缴存金额_住宅")]
        public decimal JiaoCunJinE_ZZ { get; set; }
         
        /// <summary>
        /// 已使用金额(增值金额 支出) 住宅
        /// </summary>
        [NumericType("shi_yong_jin_e_zz", "已使用金额_住宅", 32, 20, 2)]
        [DisplayName("已使用金额_住宅")]
        public decimal ShiYongJinE_ZZ { get; set; }

        /// <summary>
        /// 住宅维系资金余额
        /// </summary>
        [NumericType("yu_e_zz", "住宅维系资金余额", 40, 20, 2)]
        [DisplayName("住宅维系资金余额")]
        public decimal YuE_ZZ { get; set; }

        /// <summary>
        /// 增值统筹账户 金额 _住宅 
        /// </summary>
        [NumericType("shou_yi_jin_e_zz", "增值收益金额_住宅", 30, 20, 2)]
        [DisplayName("增值收益金额_住宅")]
        public decimal ShouYiJinE_ZZ { get; set; }


        /// <summary>
        /// 期初金额 电梯
        /// </summary>
        [NumericType("qi_chu_jin_e_dt", "期初金额_电梯", 27, 20, 2)]
        [DisplayName("期初金额_电梯")]
        public decimal QiChuJinE_DT { get; set; }

        /// <summary>
        /// 缴存金额_电梯
        /// </summary>
        [NumericType("jiao_cun_jin_e_dt", "缴存金额_电梯", 34, 20, 2)]
        [DisplayName("缴存金额_电梯")]
        public decimal JiaoCunJinE_DT { get; set; }
         
        /// <summary>
        /// 已使用金额_电梯
        /// </summary>
        [NumericType("shi_yong_jin_e_dt", "已使用金额_电梯", 38, 20, 2)]
        [DisplayName("已使用金额_电梯")]
        public decimal ShiYongJinE_DT { get; set; }
          
        /// <summary>
        /// 电梯消防资金余额
        /// </summary>
        [NumericType("yu_e_dt", "电梯消防资金余额", 42, 20, 3)]
        [DisplayName("电梯消防资金余额")]
        public decimal YuE_DT { get; set; }

        /// <summary>
        /// 增值统筹账户 金额 _电梯 
        /// </summary>
        [NumericType("shou_yi_jin_e_dt", "增值收益金额_电梯", 36, 20, 2)]
        [DisplayName("增值收益金额_电梯")]
        public decimal ShouYiJinE_DT { get; set; }

        /// <summary>
        ///  记账中，已扎帐（核算）
        /// </summary>
        [StringType("zhuang_tai", "状态", 44, 10)]
        [DisplayName("状态")]
        public ZhangMuZhuangTai ZhuangTai { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public ReportLouDongZhangMuModel()
        { }

    }
}
